\documentclass[10pt]{beamer}
\usetheme[
%%% options passed to the outer theme
%    hidetitle,           % hide the (short) title in the sidebar
%    hideauthor,          % hide the (short) author in the sidebar
%    hideinstitute,       % hide the (short) institute in the bottom of the sidebar
%    shownavsym,          % show the navigation symbols
%    width=2cm,           % width of the sidebar (default is 2 cm)
      hideothersubsections,% hide all subsections but the subsections in the current section
%    hideallsubsections,  % hide all subsections
%%% options passed to the color theme
%    lightheaderbg        % use a light header background
  ]{aausidebar}
  
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{lmodern} %optional
\usepackage{scalefnt}

%--------------------% Formatering, tegnsætning og diverse %--------------------%
%\usepackage[table]{xcolor} 																		% Så man kan farve forskellige line i en tabel
\usepackage{etex}
\usepackage{latexsym}																			% LaTeX symboler
\usepackage{xcolor}																				% Justering af elementer
\usepackage{pdfpages}																			% Gør det muligt at inkludere pdf-dokumenter med kommandoen 
\usepackage{fixltx2e}																				% Retter forskellige bugs i LaTeX-kernen
\usepackage{lineno}																				% Bruges til at tilføje linjetal



%--------------------% Figurer, tabeller og floats %--------------------%
\usepackage{flafter}																					% Sørger for at dine floats ikke optræder i teksten før de er sat ind
\usepackage{multirow}                															% Fletning af rækker
\usepackage{multicol}         	        														% Fletning af kolonner
\usepackage{hhline}  																				% Dobbelte horisontale linier            															
\usepackage{colortbl} 																				% Muligøre farver i tabeller
\usepackage{float}																					% Gør det muligt at placere figurer hvor du vil.   \begin{figure}[!h] % Will not be floating.
\usepackage{wrapfig}																				% Indsættelse af figurer omsvøbt af tekst. \begin{wrapfigure}{Placering}{Størrelse}
\usepackage{graphicx} 																			% Pakke til jpeg, png, pdf og eps billeder


%--------------------% Matematiske formler og maskinkode %--------------------%
\usepackage[retainorgcmds]{IEEEtrantools}												% IEEE equations
\usepackage{amsmath,amssymb,stmaryrd} 											% Bedre matematik og ekstra fonte
\usepackage{wasysym}    																		% Flere matematiske symboler fx integraler
\usepackage{textcomp}                 															% Adgang til tekstsymboler
\usepackage[electronic]{ifsym}																% Adgang til elektroniske symbolder
\usepackage{gensymb}																			% Tilføjer \celsius og \degree notation	
\usepackage{mathrsfs}																			% Laplace skrifttype
\usepackage{mathtools}																			% Udvidelse af amsmath-pakken. 
\usepackage{eso-pic}																			% Tilføj billedekommandoer på hver side
\usepackage{lipsum}																				% Dummy text \lipsum[..]
\usepackage{ulem}                       															% Gennemstregning af ord med koden \sout{}
\usepackage{nicefrac}																				% Pænere små brøker

%--------------------% Tikz vektor grafik %--------------------%
\usepackage{tikz}
\usetikzlibrary{shapes,arrows} 																% Definer blokke i tikz-biblioteket
\tikzstyle{decision} = [diamond, draw, fill=blue!20, text badly centered, node distance=3cm, inner sep=0pt]
\tikzstyle{block} = [draw, rectangle, fill=none, text centered , sharp corners, minimum height=2.5em, , minimum width=2.5em]
\tikzstyle{wideblock} = [rectangle, draw, fill=blue!20, text centered, rounded corners, minimum height=3em]
\tikzstyle{noborder} = [rectangle, draw=none, fill=none, text centered, minimum height=3em]
\tikzstyle{start} = [rectangle, draw, fill=green!20, text centered, rounded corners, minimum height=3em]
\tikzstyle{widestart} = [rectangle, draw, fill=green!20, text centered, rounded corners, minimum height=3em]    
\tikzstyle{line} = [draw, -latex']
\tikzstyle{cloud} = [draw, ellipse,fill=red!20, node distance=3cm, minimum height=2em]
\tikzstyle{sum} = [draw, fill=none, circle, node distance=1cm]
\tikzstyle{input} = [coordinate]
\tikzstyle{output} = [coordinate]
\tikzstyle{pinstyle} = [pin edge={to-,thin,black}]

%--------------------% Enheder %--------------------%
\newcommand{\kmpt}{\nicefrac{\text{km}}{\text{t}}}
\newcommand{\has}{\nicefrac{\text{m}}{\text{s}}}
\newcommand{\acc}{\nicefrac{\text{m}}{\text{s}^2}}
\newcommand{\rhas}{\nicefrac{\text{rad}}{\text{s}}}
\newcommand{\racc}{\nicefrac{\text{rad}}{\text{s}^2}}
\newcommand{\rpm}{\text{rpm}}

% colored hyperlinks
\newcommand{\chref}[2]{%
  \href{#1}{{\usebeamercolor[bg]{aau sidebar}#2}}
}

\title[Kranstyring]% optional, use only with long paper titles
{Kranstyring}

\subtitle[med anti-svingssystem] %optional
{med anti-svingssystem}

\author[12gr631] % optional, use only with lots of authors
{
  Anders Overgaard, André Sekunda,\\
  Jacob Hansen \& Jesper Knudsen\\
  \href{mailto:12gr631@es.aau.dk}{{\tt 12gr631@es.aau.dk}}
}
% - Give the names in the same order as they appear in the paper.
% - Use the \inst{?} command only if the authors have different
%   affiliation. See the beamer manual for an example

\institute[
%  {\includegraphics[scale=0.2]{aau_segl}}\\ %insert a company, department or university logo
  Dept.\ of Electronic Systems,\\
  Aalborg University,\\
  Denmark
] % optional - is placed in the bottom of the sidebar on every slide
{%
  Department of Electronic Systems,\\
  Aalborg University,\\
  Denmark
  
  %there must be an empty line above this line - otherwise some unwanted space is added between the university and the country (I do not know why;( )
}
\date[20. juni 2012]% optional, should be an abbreviation of the conference name
{20. juni 2012}


\begin{document}
% the titlepage
\begin{frame}[plain] % the plain option removes the sidebar and header from the title page
  \titlepage
\end{frame}
%%%%%%%%%%%%%%%%

\input{indledning.tex}
\input{klassisk.tex}
\input{moderne.tex}
\input{afslutning.tex}


\end{document}




